projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b4720
)
x11 glcontext: Always use RGBA texture format, as we use alphas
author
Alexander Larsson
<alexl@redhat.com>
Tue, 21 Oct 2014 11:51:24 +0000
(13:51 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Tue, 21 Oct 2014 11:51:24 +0000
(13:51 +0200)
gdk/x11/gdkglcontext-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkglcontext-x11.c
b/gdk/x11/gdkglcontext-x11.c
index 3377f6966e04538f1e3eea8aa9cf02fd78955f20..035aacdbdafdb6c22206099aea7eda3ba96cd304 100644
(file)
--- a/
gdk/x11/gdkglcontext-x11.c
+++ b/
gdk/x11/gdkglcontext-x11.c
@@
-316,13
+316,7
@@
glx_pixmap_get (cairo_surface_t *surface)
GLX_BIND_TO_TEXTURE_RGBA_EXT,
&value);
if (value == FALSE)
- {
- glXGetFBConfigAttrib (display, fbconfigs[i],
- GLX_BIND_TO_TEXTURE_RGB_EXT,
- &value);
- if (value == FALSE)
- continue;
- }
+ continue;
glXGetFBConfigAttrib (display, fbconfigs[i],
GLX_Y_INVERTED_EXT,